<?php
$lat=$_GET['Lat'];
$lng=$_GET['Lng'];
 
$url='http://maps.google.com/maps/geo?q='.$lat.','.$lng.'&output=json';
$ch = curl_init($url);

curl_setopt($ch, CURLOPT_HEADER, 0);

$page=curl_exec($ch);
echo substr($page,1,strlen($page)-3);
curl_close($ch);
?>